package solution

func V1(x int) bool {
	if x >= 0 {
		o := x

		y := 0

		for x != 0 {
			y = y*10 + x%10

			x /= 10
		}

		if o == y {
			return true
		}
	}

	return false
}
